𓁟

Architecture

How Thoth stays local-first.

These diagrams map the main systems behind Thoth: the agent orchestrator, context assembly, memory graph, workflows, channels, Designer Studio, safety boundaries, and self-management loops. The same principle runs through each layer: keep durable user data local, make external services opt-in, and give the user clear control over actions.

Local state

Conversations, memory, media, tasks, wiki vaults, and project assets live on the user's machine.

Opt-in models

Ollama runs locally, while provider APIs, custom endpoints, and ChatGPT / Codex remain explicit choices.

Trust boundaries

Tool results, web pages, channel attachments, and remote MCP servers are treated as untrusted context.

User control

Destructive tools, settings changes, workflow actions, and external delivery paths pass through guardrails.

Want the implementation detail?

The written architecture reference covers modules, storage layout, provider routing, update flow, packaging, and system boundaries.